package cn.t.response;

import lombok.Data;

/**
 * @author l
 */
@Data
public class ResultDTO {
    private int result=0;
    private String failedReason;
    public static ResultDTO fail(String failedReason) {
        ResultDTO resultDTO = new ResultDTO();
        resultDTO.setResult(0);
        resultDTO.setFailedReason(failedReason);
        return  resultDTO;
    }
}
